package com.soft.collateral.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.soft.collateral.entity.WithdrawApply;
import com.soft.collateral.entity.WithdrawApproval;
import com.soft.collateral.vo.PageQueryVO;

import java.util.List;

public interface WithdrawService extends IService<WithdrawApply> {
    List<WithdrawApply> listAll();
    Page<WithdrawApply> pageQuery(PageQueryVO pageQueryVO);
    WithdrawApply getByIdWithDetails(Integer id);
    boolean saveWithdrawApply(WithdrawApply withdrawApply);
    boolean updateWithdrawApply(WithdrawApply withdrawApply);
    boolean removeByIdWithDetails(Integer id);
    boolean approveWithdrawApply(WithdrawApproval approval);
}